package c.a.a;

import android.content.Context;
import com.airbnb.lottie.LottieAnimationView;
import java.util.Map;
import java.util.concurrent.Callable;

/* compiled from: LottieAnimationView */
public class e implements Callable<r<f>> {
    public final /* synthetic */ String a;
    public final /* synthetic */ LottieAnimationView b;

    public e(LottieAnimationView lottieAnimationView, String str) {
        this.b = lottieAnimationView;
        this.a = str;
    }

    public Object call() throws Exception {
        LottieAnimationView lottieAnimationView = this.b;
        if (!lottieAnimationView.o) {
            return g.c(lottieAnimationView.getContext(), this.a, null);
        }
        Context context = lottieAnimationView.getContext();
        String str = this.a;
        Map map = g.a;
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("asset_");
        stringBuilder.append(str);
        return g.c(context, str, stringBuilder.toString());
    }
}
